:root {
    --primary-color: #4a6bdf;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

header p {
    color: var(--secondary-color);
}

.upload-area {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.upload-box:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 107, 223, 0.05);
}

.upload-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-box p {
    margin-bottom: 0.5rem;
}

.small {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.upload-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background-color: #3a5bd0;
}

.result-area {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    gap: 2rem;
}

.image-preview {
    flex: 1;
}

.image-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.result-info {
    flex: 1;
}

.result-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.result-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.label {
    flex: 1;
    font-weight: 500;
}

.value {
    flex: 2;
}

@media (max-width: 768px) {
    .result-area {
        flex-direction: column;
    }
}
